<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/4/11
  Time: 16:44
  To change this template use File | Settings | File Templates.

--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改</title>
</head>
<body>
<form id="itemForm" action="${pageContext.request.contextPath }/test/updateUser?id=${user.id } " method="post">

    修改：
    <table width="100%" border=1>
        <tr>
            <td>用户名称</td>
            <td><input type="text" name="username" value="${user.username }"/></td>
        </tr>
        <tr>
            <td>密码</td>
            <td><input type="text" name="password" value="${user.password}"/></td>
        </tr>
        <tr>
            <td>电话</td>
            <td><input type="text" name="mobil" value="${user.mobil}"/></td>
        </tr>
        <tr>
            <td>真实姓名</td>
            <td><input type="text" name="realName" value="${user.realName}"/></td>
        </tr>

        <tr>
            <td colspan="2" align="center"><input type="submit" value="提交"/>
            </td>
        </tr>
    </table>

</form>
</body>
</html>
